public class Test {
    public static void main(String[] args) {
        Employee p1 = new Employee("张三", "成都", 1, 8000, 2);
        Employee p2 = new Manger("李四", "西安", 2, 10000, 3);
        System.out.println("普通员工涨工资之前的工资:" + p1.getWages());
        p1.add();
        System.out.println("普通员工涨工资后的工资:" + p1.getWages());
        System.out.println("经理涨工资之前的工资:" + p2.getWages());
        p2.add();
        System.out.println("经理涨工资后的工资:" + p2.getWages());
    }
}
